package staticandfinal;

import java.util.Objects;

public class FinalTest {
    public static void main(String[] args) {
        Person person = new Person(null);
        System.out.println(person);
        String s = null;
        System.out.println(Objects.requireNonNull(s, "s is null"));
    }
}
